//
//  FindCollectionReusableView.m
//  jingdongfang
//
//  Created by MTiMac01 on 2017/8/23.
//  Copyright © 2017年 LJL. All rights reserved.
//

#import "FindCollectionReusableView.h"
#import "HotClassificationVC.h"
#import "TopicVC.h"
@implementation FindCollectionReusableView

- (void)awakeFromNib
{
    [super awakeFromNib];
}

- (IBAction)moreBtnClick:(id)sender
{
    if (_index == 1)
    {
        [UIViewController ig_pushViewController:[[HotClassificationVC alloc] init] animated:YES];
    }
    else if (_index == 2)
    {
        [UIViewController ig_pushViewController:[[TopicVC alloc] init] animated:YES];
    }
}

-(void)setIndex:(NSInteger)index
{
    _index = index;
}

@end
